<!DOCTYPE html>
<html lang="en">
     <head>
          <link type="text/css" href="<?php echo base_url() . 'bootstrap/docs/assets/css/bootstrap.css' ?>" rel="stylesheet">
          <link type="text/css" href="<?php echo base_url() . 'bootstrap/docs/assets/css/bootstrap-responsive.css' ?>" rel="stylesheet">
          <meta charset="utf-8">
          <title>Login</title>
          <meta name="description" content="">
          <meta name="author" content="">

          <!-- Le styles -->
          <style type="text/css">
               /* Override some defaults */
               html, body {
                    background-image: url(<?php echo base_url() . 'image/background.jpg' ?>);
                    background-repeat:no-repeat;
                    background-attachment:fixed;
                    background-position:center;
                    background-color: #eee;
               }
               body {
                    padding-top: 40px;
               }
               .container {
                    width: 300px;
               }

               /* The white background content wrapper */
               .container > .content {
                    background-color: #fff;
                    padding: 20px;
                    margin: 0 -20px;
                    -webkit-border-radius: 10px 10px 10px 10px;
                    -moz-border-radius: 10px 10px 10px 10px;
                    border-radius: 10px 10px 10px 10px;
                    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
                    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
                    box-shadow: 0 1px 2px rgba(0,0,0,.15);
               }

               .login-form {
                    margin-left: 65px;
               }

               legend {
                    margin-right: -50px;
                    font-weight: bold;
                    color: #404040;
               }

          </style>

     </head>
     <body>
          <div class="container">
               <div class="content">
                    <div class="row">
                         <div class="login-form">
                              <h2>Forum Sehat Login</h2>
                              <fieldset>
                                   <?php echo validation_errors(); ?>
                                   <?php echo form_open('registrasi/login_validasi'); ?>
                                   <div class="clearfix">
                                        <?php echo form_input($username_user); ?>
                                   </div>
                                   <div class="clearfix">
                                        <?php echo form_password($password_user); ?>
                                   </div>
                                   <button class="btn btn-primary" type="submit"><i class="icon-user icon-white"></i>  Login</button>
                              </fieldset>
                         </div>
                    </div>
               </div>
          </div> <!-- /container -->
     </body>
</html>
